﻿namespace CSharpHelpers.Commons
{
    class VersionHelper
    {
        public static string GetBuildNumber()
        {
            string number = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
            string[] splitStr = number.Split('.');

            if (splitStr.Length == 4)
                return splitStr[3];
            else
                return string.Empty;
        }
    }
}
